Add matrix definitions to glossary.rst