added procedures to do a Newton step with a wanted number of accurate decimal
places in the solution