added initial R and Stan files