added analysis module for correcting negative bin contents of histograms