Changed loadPatch so you can pass an index OR the position of the upper left corner.