docfixes on matrices in physics module