Fix bug in ConfigProjector::impl_compute

Evaluate the new value before computing the error.