Updated to use accumulating errors.
v0.3.0.0