Added a pseudo inverse with damping