file renamed into stat_rank.h
start implementing a generic version of statistical ranking
debug:compareRank function corrects returns integer. Before it returns the difference of double values directly, which causes bugs if the input values are similar (i.e. the difference is between [-1,1])