[BROKEN] giant refactor! NIW.R is legible now.

You can do source("NIW.R") now to play with the samplers; they have a sane API,
 which is documented at the top of that file.
This commit breaks the automated test runs; I'll fix that next commit.