Scale a histogram by its average