initial commit of uacalc.py
Adding the beginnings of some experimental code, almost none of which
works yet.  (I'm only committing it so I can pull it to other machines
and continue working on it elsewhere.)