created analytic pathway through program controlled by ANALYTIC boolean value in spacetime constructor definition... simulates all aspects of physics, PD controller, and optimization with dynamics equations rather than PhysX integrator... still not working for optimization, though PD controller is stable