Modeling Moon Phases, Gravity, and Orbital Motion