Function transpose

Give the transposed form of a matrix.

auto transpose(M) (
  in M mat
)
if (isMat!M);