Made some changes to cell.cpp with the Fourier transform. This is still not working right