updated the documentation in preparation for a push to cran