more optimizations
changed to using fftw_malloc/free; fixed memory leak in poissonSolver