Cofnod E-bost: Trajectory-Based Skill Learning Using Generalized Cylinders