Modeling and control of cable actuated surgical robotic systems