Added transpose and ctranspose