how to measure temporal variables of gait