Fix for occasional NaNs coming from OrbitFromStateVectors.