Text this: Development of a double inverted pendulum model for human gait analysis