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
Removed comment
Remove unnecessary constant
Edited stdout chatter
Merge pull request #146 from iainrb/devel

Handle infinite values in .sim file; bugfix on probe range