betweenness_w function

Betweenness centrality in a weighted network