Figured out how to use getTangent, sSegmentTypeCounts, and transformCopy