Renamed the file because it now contains functions for more than just plotting. Basically all the functions that are required for the scripts in the summary folder will go in here