checking out apply(), compiler and parallel ways to speed up the
functions
switched to roxygen2 documentation and devtools build cycle