Adding quantile calculation to statistic estimation.