Two ways of computing PageRank