Avoided O(<k>) max search at the end of calc_modularity by checking each
step for max movein
Labels now inherit from Communities.