Changed default edge weight to 1 to avoid divide by zero.
Modified description in setup.py
Adding tests for ranked graph.