changed error calculation to use absolute values of data in order to account for negative data that produce std < 0. Should still warn user in .out file if data contain negative values larger in magnitude than -10 or so .. these may be related to susceptibility, not just low-amplitude noise
The absolute value here doesn't affect the final std because we square each item before summation.
Ill dig a little further and figure out where this is happening
changed error calculation to use absolute values of data in order to account for negative data that produce std < 0. Should still warn user in .out file if data contain negative values larger in magnitude than -10 or so .. these may be related to susceptibility, not just low-amplitude noise