Created a function to find the edges of each orbit. The major and minor axis can be determined from this.