quantile_type7_cpp function

Compute the quantiles using quantile type seven