Statistics for Online Learning of Gait Models