Transpose gdal arrays, output equals input now.