Refs #6031 better centroiding for histograms