An improved representation of gait curves ensemble average