Quantile function optimized
quantile function moved out to pset2_util.R