Index: trunk/psModules/src/imcombine/pmSubtractionKernels.h
===================================================================
--- trunk/psModules/src/imcombine/pmSubtractionKernels.h	(revision 14363)
+++ trunk/psModules/src/imcombine/pmSubtractionKernels.h	(revision 14455)
@@ -17,8 +17,8 @@
 typedef struct {
     pmSubtractionKernelsType type;      ///< Type of kernels --- allowing the use of multiple kernels
+    long num;                           ///< Number of kernel components (not including the spatial ones)
     psVector *u, *v;                    ///< Offset (for POIS) or polynomial order (for ISIS)
     psVector *widths;                   ///< Gaussian widths (ISIS) or ring radius (RINGS)
     psVector *uStop, *vStop;            ///< Width of kernel element (SPAM,FRIES only)
-    psVector *xOrder, *yOrder;          ///< Spatial Polynomial order (for all)
     int subIndex;                       ///< Index of kernel to be subtracted (to maintain flux conservation)
     psArray *preCalc;                   ///< Array of images containing pre-calculated kernel (for ISIS)
@@ -26,4 +26,5 @@
     int inner;                          ///< The size of an inner region
     int spatialOrder;                   ///< The spatial order of the kernels
+    int bgOrder;                        ///< The order for the background fitting
 } pmSubtractionKernels;
 
