Added tests for converting index to patch range, and finished draft of function to load an image patch given a region