fixed return type for pagerank.compute