Learning and Tracking Cyclic Human Motion