Added sparsity function call in centrality init