added adjacency list and vertex degrees for csr_matrix