changes made to astro/cal.py