Updated matrix docs