added more documentation; added new example program; tiddy up some code
forgot this pup
added more documentation; added new example program; tiddy up some code