Added examples
Merge branch 'master' into cran