Converted Rd documentation to Roxygen