Major refactoring of estimators
Added preprosessing function to simulations