adding edge_matrices_data