More documentation changes, updated test_RWTY

Just did documentation for a few more functions.  I've also fixed
test_RWTY.R so that it works with the new directory structure.