Calculates the moving average of an array along with max, min, and range.