Modified DFT kernel to accept arbitrary-size images. This closes #16.