rewriting CURI_Data.Util.transpose
new version