Changes graphs to output the maximum value, rather than the minimum value, as that was totally backwards from the graphs that I wanted.