fixed makevars vanishing problem (lol oops)
added CRAN copyright notices for files in src/, formatting
rearranged src