Nth percentile element finder

Attached is a component for finding the element closest to the nth percentile in an array of numeric values.

Leo