completed code for lunar lat/lon calculations.