Earth and refinements

added orbiting earth and overall refinements. solved major bug in
collision detection