Minimum jerk trajectory control for rehabilitation and haptic applications | Synapse