added more docs and changed functionality of some of the functions.
Merge branch 'master' of github.com:apexskier/wombat