Changed output data type to binary in anticipation for running each part of the grid.