Updated lots of things

Added some work to the writeup, added some functions to the useful
function, and added knitr tags to the ui and server