added real error bars

changed error calc to relative error and applied to data