NF: function to compute weights to a node by community
NF: adding functions to calc delta modularity for weighted graph, communities_without_node, weight_alledges_tonode