In the process of incorporating DE including gravity. Will not compile at this point. Try different approach to DE via Matlab.