implemented kth order statistic and  kth quantiles.