Computing forward statics from tendon-length in flexible-joint hyper-redundant manipulators