This code converts a matrix of arrays between row-oriented and column-oriented representations. Eric Lin co-wrote it and was the main contributor to the code's most notable attribute: it can transpose matrices of arbitrary size.