Calculates Avg ASF and creates normalized and unnormalized histograms.