Added moving average filter to CCIP calculation