Optimal control of tendon-sheath transmission systems