Move error cal to separate fn but maybe not calculated correctly?
Redo plots for all HT bins properly incl errors
Add in autorange_y switch
latest updates
testing fixes