Updated histograms to produce densities instead of frequencies