Improved Newton's method for functions of two variables