Not sure if we want to fix in this PR, but we should really just be updating values in the array instead of creating a new array every time.  We should also probably make it a float64 array.