De-functioned all of PIRGraphs because it made it hard to debug and also removed redunancy, all graphing commands are at the end of the file.