Finished cleaning up R code. Now working on MarkDown integration