Use Newton's method to compute the square root