add basics for quadratic solver
Fix bugs, cleans up code. I believe we're done here.
removed simulation, replaced with tracer => speed up of 5-10x