Program for reweighting (multiple histograms) added, still to be really tested