started to computed gait cycle