PDFtoQuantiles function

Get Quantiles from vectors of PDF or CDF values