Draws error plot.
Computes integration outside start function.