Refactored a bit. Setting estimation values now works.