Fixed PortfolioReranker.java

implemented algorithms in a fixed way, not the way as exactly described
in the paper