Added new KS orbit element formulation - doesn't work yet. Added examples for 2D Keplerian, sail normal to sun, and sail at fixed angle to sun for comparison of Cartesian, spinor and KS element formulations.
Removed "positionv" and "velocityv" functions in favor of "to-cartesian". Corrected RECOVERROTOR3D. Corrected SAILPOINTINGFIXED so that RS is defined relative to the RVBASIS frame. KSSTATE formulation still not right.
Corrected SAILPOINTINGTABLE to follow logic of SAILPOINTINGFIXED
Reordered some function definitions to compile in the correct order. Defined Kepler problem examples to match for comparison of cartesian, spinor, and KS formulations.
For KS equations of motion, added W for work done by perturbing force, which has gotten closer - but still not correct - to matching the spinor & cartesian equations of motion.
Removed obsolete functions. Changed example problems to test between orbit representations. Issue still exists for spinor orbit element formulation.