Cleaned up code, and improved docs.  Need to think of tests for code though.
Added the new functions in the clustering file.
Added average_shortest_path_length_weakly_connected.  Needs comments and tests.