added examples to all exported functions to comply with CRAN