refactor the simple rank function out of wmw_test into wmw_test_private
utP in wmwRes is renamed as gtP (greater than P)
add a parameter checks, accessors, and prints the stats/index