solver a bunch of bugs having to do with interpolation, edge effects and adding values to trajectories backwards during integration