[newton] Initialize variables in right scope and order
Addresses one part of #801 (closed) as suggested by @martins
newtonBegin
potentially manipulates the solution before starting the Newton iteration. Hence variables using the solution for initialization have to been initialized after.
Edited by Timo Koch