some small cleanups
changed the initialization of the solution vector from previous data, saves some work in solving the system in some cases