move RatioBasedEstimator to its own file and make it average multiple histories