fixed merge conflict
Two new functions to get the transfer orbit