Changed to allow arbitrary patch sizes. Patch will always have even dimensions, such that the patch is symmetrical, so convolution and correlation are the same operation. These changes were made such that frequency domain analysis is more accurate.
dickered with it some
Initial Commit