Feature/fit hadron component corrections
- Added auxillary functions
- Added default values for fg51-53,k_d,k_e,k_f
- Added correct check for amplitude overflow (max_amp should be 262015, not 262143)
- Updated time index calculation code
- time = -2048 is no longer used as indicator of failed fit
- Added an option adjusted_timing to switch between old and new algorithms for time calculation (added in ShaperDSP firmware v1.4.3)
- Added handling of edge cases for time calculation
- Code style changes