Updated the documentation and ran roxygen2