Fixed a bug in __get_best_partitioning

Changed initial max_modularity value from 0 to -0.5, which is the minimum (a fully connected graph has modularity of 0, and this is the best clustering).