Finally justified using an OO language! :D Trajectory is now a subclass of Quadratic
Broke the build though :(