More stuff working towards getting the Calib code to work properly for both the FPGA energy and the waveform derived energy. In order to do this I am moving code out of the main calib function and into functions within CalibTools.C

- Everything so far is being built to work with CalibOffline.C, as such the main Calib.C will be broken until this work is finished.
- Built a FitSettings struct to hold the parameters which need to be passed between the main loop and the fitting function.
- Changed the way the initial sigma for the fit is calculated so it is more flexible.  Same for several other parameters.