removed the Minimum function from the procedure to test the variable precision
Newton's method