Added Mat4.transpose() and test case.