Cleaned up code

Cleaned up code and manually merged parts from AJ's notebook
Added daved_data.csv