Make EWMAEstimator more generic and not specific to rates