Removed the struct HistogramData and some more cleanup in the histogram code.

Authored by asemke on Jul 12 2018, 6:53 AM.