bugfix(2298): nanvar/nanstd now correctly handle big differences between mean and true variance. Also fixed nansum to behave correctly when summing across a trailing singleton dimension; nans become zero in that case (per the mathworks implementation).


git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@8631 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
automatically synchronized identical files to revision 8631

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@8632 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0