Well, i suggest that you can use some satellite motion examples in ntnu as a reference, applets created by prof Hwang, lookang, i believe this can help you
To watch what you miss variables page, here some examples URLs




You can download the jar file and unzip, open xml source code using Ejs and look to variables to find what your project missed and what you need to add.