Implemented Average Cost.
Normal Output Graphs and Average Output Graphs.