Added nan support to corr functions
Merge branch 'master' of https://github.com/Mestalbet-MeaGroup/CalciumImagingCode