Develop

Fixed small error caused by new version networkx.