Fixed logic for damping factor