Add adjacencyMatrix and degreeMatrix. Still need to add docs.