Documentation & build fixes, make k methods more generic, removed bayes function.

rjags seems to be crashing the build, so I removed that from the R folder. If there is a solution to handling this, we should take care of it. It seemed the package couldn't be built before anyways, as a bunch of the documentation for exported functions was either missing of had closure issues w/ {}. Fixed those things, did a successful build and tested the new functions.