Add subroutine to get the orbit parameters.