Cleaned up code for graphing function, cleaned data for cleaner titling, etc.