added centrality to graph, compute katz, degree