Matrix moving average + matrix utils update