using roxygen2, added my name to documentation, change .r to .R, updated vignette