Factored Kth selector and pivoting strategy out from Percentile. Thanks to Venkatesha Murthy for the patch. JIRA: MATH-1120