So, I have created a random field of vectors with length 1, and I am trying to write code that will adjust each value to the average of its 4 neighbours. I have written this