transpose expression function

Transposes a matrix.

Usage

transpose(mat)