Added code for overlapping communities and probability assignments.

Also fixed a small bug in Louvain.