First pass at documentation, deleted several old functions, CRAN check in R still not working, but package does compile and load