Created a matrix transpose function for 2d matricies.
Connecting columns to one another.