Fix errors in Rd documentation
More detailed comments
Re-roxygenize