Modified FFT to handle odd image sizes (crops a row or col or pixels)