ExtractFreq function

Extract quantiles for use in a frequency distribution plot, e.g. a flow duration curve