pls explain the simplest way in math/physics or science that can be used to estimate xyz coordinates of position and orientations of each appendages of a walker during gaits such as in animal/terrestrial locomotion while also considering their a.attitude b. condition c.speed hence producing the right posture within a limited timeframe within a single loop or cycle.