Added sqrt with Newton's method.