BF: fixed modularity calc, parenthesis in wrong place
DOC: improve docstring for modularity function for weighted graphs
Holder fo modularity test