fixed averaging problem, edited octave graph output data