Added first functions to script
Improved script, added more debugging
Finished script
Fixed error in script
Added title to figure, updated PDF
Final commit