quantile function from cdf