I am trying to cut a section of a 2d array specified by x, y and w, h.
x, y
w, h
So far I can cut the section and return a new array successfully but only