Updated histogram functions for computing percentiles.