updated make file
Fleshed out the functions example on someones request
Updated R script
Updated README