Pulled transposes out of poisson_mod and into fft_mod.

Ultimately, the transposes might belong somewhere else, but for
now they are implemented using fftw, so they'll live with ffts.