get_range_from_quantile function

Get interval range belonging to a quantile