Updated modularity.py to convert networkx sparse matrices to dense matrices so they can be converted to numpy arrays
Updated modularity.py to convert networkx sparse matrices to dense matrices so they can be converted to numpy arrays

whitergh/brainx,nipy/brainx