Added functionality for saving ephemeris output