Updated documentation to pass R CMD check. Closes #1