added orbit calculating and drawing