plotting now with error bars, & corrected average