Updated histogram maker and plotter