Update astromodule.py

Added modulus function