Mathematical Modeling Of Cable Sag, Kinematics, Statics, And Optimization Of A Cable Robot