Add degree matrix docs.