Correcting error in the RankPerceptron class and doing some more tests!