public void Update() { ProcessInput(); Algorithms.AggregateNeighborhood(gas, CalculateAverage); //This adds the foreach (var point in gas) { UpdateCell(point); } }