cleaning up code for parallel slabFFT