Updated Histogramd and HistogramFeature

Updated these classes with a few functions and members, this may need to be changed