Structural Mechanics of Yarns