Robotic movement training as an optimization problem: designing a controller that assists only as needed | IEEE Conference Publication | IEEE Xplore