Command Definitions

You shouldn't change anything in this section unless you really know what you're doing...

This code is Copyright 2005 by Jonathan Rogness under the Creative  Commons Attribution - NonCommercial - ShareAlike 2.0 license.  For more  information, see http://creativecommons.org/licenses/by-nc-sa/2.0/.   Basically this means you're free to use it to your heart's content, but if  you improve on the code (which shouldn't be hard) you have to share with the  rest of us! 

I have included numerous comments throughout the code, and  I've used an "imperative" programming style instead of Mathematica's "functional" programming constructions, because more people seem  comfortable reading the imperative style.  That said, the code could  certainly be improved and drastically shortened by using functional  techniques.  Because these commands currently work, I won't rewrite them any  time soon; if you can't stand the "kludge" approach here, feel free to  rewrite the commands and create a more elegant package.  Just remember that  you have to share.