Fixed bug in the energy calibration for data folder function (was adding the offset not subtracting)