Macro for converting response 2D histograms to 1D scale correction and reweight histogram