Index: trunk/psLib/src/astro/psCoord.c
===================================================================
--- trunk/psLib/src/astro/psCoord.c	(revision 6254)
+++ trunk/psLib/src/astro/psCoord.c	(revision 6346)
@@ -10,6 +10,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.105 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-01-30 23:42:24 $
+*  @version $Revision: 1.106 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-02-07 23:14:21 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -63,5 +63,4 @@
 XXX: This code no longer makes sense.  The merge must be reviewed.
  *****************************************************************************/
-
 // XXX EAM : below is the code using the standard matrix representation.
 //           note that this inversion requires x->nX == 1, y->nY == 1 and
@@ -205,5 +204,4 @@
 }
 
-// XXX: Verify the order/nterms poly changes
 psPlaneTransform* psPlaneTransformAlloc(int order1, int order2)
 {
@@ -266,5 +264,4 @@
 }
 
-// XXX: Verify the order/nterms poly changes
 psPlaneDistort* psPlaneDistortAlloc(int order1, int order2, int order3, int order4)
 {
@@ -327,4 +324,6 @@
 /******************************************************************************
 XXX: Private Function.
+ 
+XXX: Optimize this.  We don't need a while loop here.
  
 piNormalize(): take an input angle in radians and convert it to the range 0:2*PI.
@@ -867,12 +866,10 @@
     // Solution via LU Decomposition
     //
+    // XXX: Check return codes
+    //
     psVector *permutation = psVectorAlloc(nCoeff, PS_TYPE_F64); // Permutation vector for LU Decomposition
     psImage *luMatrix = psMatrixLUD(NULL, &permutation, matrix); // LU decomposed matrix
     psVector *xSolution = psMatrixLUSolve(NULL, luMatrix, xVector, permutation); // Solution in x
     psVector *ySolution = psMatrixLUSolve(NULL, luMatrix, yVector, permutation); // Solution in y
-
-    //
-    // XXX: Should check the output of the matrix routines and return false if bad.
-    //
 
     //
