Working stuff, will try to use diffMiddle kernel for very small
search regions
Updated diffMiddle to be flexible to WGX, TRG_PIXELS_NO, TRG_PER_LOOP
Tidied up code
Commit for submit.