Invnewton example compiling, results incorrect (plotting vs analytic result makes it evident)