Added Lucas' latest damping code.