Cleaned a bunch of TEST code, Added lots of documentation, and added a little help function.  Also found one minor bug.