fix bug in handling NaNs
fix bug in handling NaNs

git-svn-id: https://beagle.whoi.edu/svn/ifcb/trunk@811 9f5e5bc8-6430-4f94-ad00-aad15e9f9366

Former-commit-id: 2800d412e9ee98d69189d6ea95bdcfd22829e214
hsosik/ifcb-analysis,hsosik/ifcb-analysis,hsosik/ifcb-analysis,hsosik/ifcb-analysis,hsosik/ifcb-analysis