minor typo fixes: libray -> library, knitr -> knit

Excellent documentation, thanks, especially the figure and table numbering and captioning!