Astronomy Calculations