cut_cdf_qi function

Categorize values from a CDF into quantile intervals