weighted_ntile function

Weighted (ranked) quantiles