Extends transpose() and ctranspose() to Tridiagonal matrices