Add mat4.transpose.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>