FIrst cut at implementation of percent_rank