cleaned up code, clarified variable names, reshaped data, added README and CodeBook.