Lots of changes to the ephemerides modules for issue #26.