Added an average cost graph