define 'NAN' in fitcurves.cpp
Merge pull request #5 from CharlyZhang/develop

Define 'NAN' in fitcurves.cpp