Change EWMA2 to use a dynamic dt using a timer.