Movement Primitives via Optimization - The Robotics Institute Carnegie Mellon University