ewma moving average (stats): fix missing init (!), broaden range of rate conversions
test moving avg rate conversion