Swinging from the hip: use of dynamic motion optimization in the design of robotic gait rehabilitation | Synapse