Adding transpose operation