Add member function trans() and conjtrans() for matrix2d.