Working 1d solver, unit test for the solver.
A bunch of refactoring and details on the shooting technique.