Updates to documentation, etc

-documentation updates
-change function names for CRAN checks
-dropping unnecessary code
-small bug fixes