Added TransposeSquare method which speeds up both win and transpose functions.
Sped up TransposeDiagonal by removing one loop and creating an additional slice.