added unit test for non mr simrank + fixes for the parallel mode to avoid taking too much memory