Update outputGrid.m