setting errors to two
setting errors to two
adding wRelErr over fun of b