Add percentileOfScore()

Add function to calculate the percentile rank of a value in an array.

Signed-off-by: Trevor Norris <trev.norris@gmail.com>