Removed caching of error_estimate until it can be tested