Modeling and control of a kite on a variable length flexible inelastic tether