add unit/integrted tests for dpc

You are using the fast Fourier transform from numpy (http://docs.scipy.org/doc/numpy/reference/generated/numpy.fft.fft2.html) which _does_ require a power of two length.  

cc @ericdill