Rewrite of parts of fakeEstimator
Fixed bug in get_hist() function in AnalysisTools that allows histograms to be reused without modification