Finished page rank in both applications.
Cleaned up pagerank.