Index: /trunk/psLib/src/dataManip/psFunctions.c
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.c	(revision 750)
+++ /trunk/psLib/src/dataManip/psFunctions.c	(revision 751)
@@ -16,4 +16,5 @@
 #include "float.h"
 #include <math.h>
+#define PI 3.14
 /*****************************************************************************
     Evaluate a non-normalized Gaussian with the given mean and sigma at the
@@ -29,5 +30,5 @@
     float tmp = 0.0;
 
-    if (nomal == true) {
+    if (normal == 1) {
         tmp = 1.0 / sqrtf(2.0 * PI * (stddev * stddev));
         return(tmp * exp(-((x-mean) * (x-mean)) / (2.0 * stddev * stddev)));
@@ -37,4 +38,5 @@
 }
 
+/*
 psVector *psGaussianDev(float mean,
                         float sigma,
@@ -42,7 +44,8 @@
 {
     psVector *gauss = NULL;
-
+ 
     gauss = psVectorAlloc(Npts, PS_TYPE_FLOAT);
 }
+*/
 
 /*****************************************************************************
Index: /trunk/psLib/src/dataManip/psFunctions.h
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.h	(revision 750)
+++ /trunk/psLib/src/dataManip/psFunctions.h	(revision 751)
@@ -12,7 +12,8 @@
 
 float
-psGaussian(float x,   ///< Value at which to evaluate
-           float mean,   ///< Mean for the Gaussian
-           float stddev   ///< Standard deviation for the Gaussian
+psGaussian(float x,        ///< Value at which to evaluate
+           float mean,     ///< Mean for the Gaussian
+           float stddev,   ///< Standard deviation for the Gaussian
+           int normal      ///< Indicates whether result should be normalized
           );
 
Index: /trunk/psLib/src/math/psPolynomial.c
===================================================================
--- /trunk/psLib/src/math/psPolynomial.c	(revision 750)
+++ /trunk/psLib/src/math/psPolynomial.c	(revision 751)
@@ -16,4 +16,5 @@
 #include "float.h"
 #include <math.h>
+#define PI 3.14
 /*****************************************************************************
     Evaluate a non-normalized Gaussian with the given mean and sigma at the
@@ -29,5 +30,5 @@
     float tmp = 0.0;
 
-    if (nomal == true) {
+    if (normal == 1) {
         tmp = 1.0 / sqrtf(2.0 * PI * (stddev * stddev));
         return(tmp * exp(-((x-mean) * (x-mean)) / (2.0 * stddev * stddev)));
@@ -37,4 +38,5 @@
 }
 
+/*
 psVector *psGaussianDev(float mean,
                         float sigma,
@@ -42,7 +44,8 @@
 {
     psVector *gauss = NULL;
-
+ 
     gauss = psVectorAlloc(Npts, PS_TYPE_FLOAT);
 }
+*/
 
 /*****************************************************************************
Index: /trunk/psLib/src/math/psPolynomial.h
===================================================================
--- /trunk/psLib/src/math/psPolynomial.h	(revision 750)
+++ /trunk/psLib/src/math/psPolynomial.h	(revision 751)
@@ -12,7 +12,8 @@
 
 float
-psGaussian(float x,   ///< Value at which to evaluate
-           float mean,   ///< Mean for the Gaussian
-           float stddev   ///< Standard deviation for the Gaussian
+psGaussian(float x,        ///< Value at which to evaluate
+           float mean,     ///< Mean for the Gaussian
+           float stddev,   ///< Standard deviation for the Gaussian
+           int normal      ///< Indicates whether result should be normalized
           );
 
Index: /trunk/psLib/src/math/psSpline.c
===================================================================
--- /trunk/psLib/src/math/psSpline.c	(revision 750)
+++ /trunk/psLib/src/math/psSpline.c	(revision 751)
@@ -16,4 +16,5 @@
 #include "float.h"
 #include <math.h>
+#define PI 3.14
 /*****************************************************************************
     Evaluate a non-normalized Gaussian with the given mean and sigma at the
@@ -29,5 +30,5 @@
     float tmp = 0.0;
 
-    if (nomal == true) {
+    if (normal == 1) {
         tmp = 1.0 / sqrtf(2.0 * PI * (stddev * stddev));
         return(tmp * exp(-((x-mean) * (x-mean)) / (2.0 * stddev * stddev)));
@@ -37,4 +38,5 @@
 }
 
+/*
 psVector *psGaussianDev(float mean,
                         float sigma,
@@ -42,7 +44,8 @@
 {
     psVector *gauss = NULL;
-
+ 
     gauss = psVectorAlloc(Npts, PS_TYPE_FLOAT);
 }
+*/
 
 /*****************************************************************************
Index: /trunk/psLib/src/math/psSpline.h
===================================================================
--- /trunk/psLib/src/math/psSpline.h	(revision 750)
+++ /trunk/psLib/src/math/psSpline.h	(revision 751)
@@ -12,7 +12,8 @@
 
 float
-psGaussian(float x,   ///< Value at which to evaluate
-           float mean,   ///< Mean for the Gaussian
-           float stddev   ///< Standard deviation for the Gaussian
+psGaussian(float x,        ///< Value at which to evaluate
+           float mean,     ///< Mean for the Gaussian
+           float stddev,   ///< Standard deviation for the Gaussian
+           int normal      ///< Indicates whether result should be normalized
           );
 
