3D parameter checking and defaults

These are a set of minimal modifications to clawutil.py to support 3D work.  I also added some simple docstrings in a few places because emacs' python-mode chokes on empty docstrings.