Stepping frequency and stride length in animal locomotion: a new method of investigation