Estimate error for trapezium rule (#594)