Bugfix; correctly iterate over all probes to find magnitude/xydiff
Use long for totalSignals to prevent overflow; explicitly call calloc for signals array in magByProbe
Handle infinite input intensities as well as NaNs