Remove call to mapFunc and inline the PageRank stuff