added getWmat
centrality now works for matrices, edgelist and igraph input as well
added Giulio Costantini's centrality and clustering functions