Refs #6338 fix isnan for windows
Merge branch 'feature/6338_peak_statistics' into develop