Fix sign error in Newton iteration