Added roxygen documentation