Fix invertShift to have errors of the variation, not nominal
Discovered by @ngrieser that TQHistogramUtils::invertShift
applies statistical errors of the nominal histogram rather than the variation. This MR fixes this issue and also generalizes the method to apply to n-dimensional TH1* (instead of TH1D*).
Edited by Tae Hyoun Park