Fix error bounds for approximate SUM and AVG