Changed Rmd template, added html and figures.