artificial-leg-algorithm