-improve percentile computation
-Continue work on "custom sample" feature
1st commit
Revert "1st commit"

This reverts commit 21b25e4fc26747f88db7ff77d81c456dff554a87.
test commit2