Planet orbit and rotation code completed but untested