A Lagrange-based generalised formulation for the equations of motion of simple walking models. (11th April 2017)