major formatting clean up, added lines to download directly from source into wd, added functions to make reading and transforming x & y data shorter, added write.table function at the end.