Added an invert_cal parameter to the cal_scale module to allow for calon/off indices being reversed.;
Editing to run with different gbt configurations