Create Newton's method