Added smoothing of epsilon values. Currently off by default