Correct gain output for the walking gait