transposed matrix coerced to the input matrix type
linear.qr divison by zero bug fixed
Merge pull request #152 from Gerrrr/bug/transpose_return_type

transposed matrix coerced to the input matrix type