A model equation for the prediction of mechanical internal work of terrestrial locomotion