Performance enhancements

Properly scoped the Spark context. Decreased the convergence threshold
of PageRank.