minor tweaks, better documentation/example, fixed one test, added second to fix chop bug