Added Rmd
Bugfixes