Fix matrix docs