fixed pagerank
caches now working properly