Python sun.py as a proper module - originally from http://kortis.to/radix/python/code/Sun.py (Public Domain)