Library func work, no reorg in this commit.

* fix pwheren()
* add a handful of library functions
* add lib/skunk.m for experimental stuff