Logic for Derived Outputs is coded

Need to add pass by reference support for bodies to motion solver then
this could should work, will implement later today.