important bug fixes to v2, involving the transferring of the last slice of the fourier grids