So I'm not sure what the problem was but I found a work around. I was getting the conversion for grids from 2 ints and even though I specified it as a float, it was getting the result as an int and then converting it to a float. So when copying the values, it was just copying from cell 0,0 to all the cells in the new grid To resolve, I stored all the variables as floats and then did the math.