Normalization of histograms