Newton's method for square-roots added