Newton solver working. Fiddled with output a bit
Better output management
Small fix