New CSD plots, changes to the loop structure in louvain.py.