shorten lines to comply with r cmd check
put example in if statement b/c depends on suggests.  added function locations
documented
add roxygen2 to the suggests for documentations
added a travis file