Editing adjMatrix.