closeness_w function

Closeness centrality in a weighted network