Update astro.py

Avoid fractions in a few calculations