fix off by one error in modularity_louvain_und_sign