Added damped least-squares