Gesture learning and execution via DMPs