move sunPosition() calculation to Planet to have planet logic in one place

Authored by shentey on Jan 13 2018, 3:57 PM.