AS4853 routines

This is the stuff I'd started working on.  Unfortunately it's still in
Python 3.3. I'll update it back to 2.7 shortly.