updated man files and NAMESPACE for packaging