Index: trunk/psModules/src/detrend/pmFlatNormalize.c
===================================================================
--- trunk/psModules/src/detrend/pmFlatNormalize.c	(revision 8815)
+++ trunk/psModules/src/detrend/pmFlatNormalize.c	(revision 9614)
@@ -13,12 +13,9 @@
 // few with absolutely no trouble (it *is* over-constrained).  For this reason, I'm putting the maximum number
 // of iterations and tolerance as preset values.
-#define MAXITER 10
-#define TOLERANCE 1e-3
+#define MAXITER 10                      // Maximum number of iterations
+#define TOLERANCE 1e-3                  // Minimum tolerance for convergance
 
-// Estimate the flat-field normalisation; return the source flux in each integration
-bool pmFlatNormalize(psVector **expFluxesPtr, // Flux in each exposure; modified for return
-                     psVector **chipGainsPtr, // Initial guess of the chip gains; modified for return
-                     const psImage *bgMatrix
-                    )
+
+bool pmFlatNormalize(psVector **expFluxesPtr, psVector **chipGainsPtr, const psImage *bgMatrix)
 {
     PS_ASSERT_PTR_NON_NULL(bgMatrix, false);
