matrix docstrings