Add errors module

Used by radprofile.py