refactored tuning estimator, much simpler