cdf2quantile function

Calculate a quantile from a distribution function