Transposes the n rows by m columns array returned transposey = arrayx
an array with n columns and m rows