bug fix percentileApprox.  Need to implement tests soon