Little changes in way of calculating dQ in Louvain method.