Fix moving average calculation