Added quantile calculation.
Required lists to be pre-sorted.