PAGERANK: Fixed C and JS versions, no self-checking yet