rolled back change in fourier_embed.m. Still not working properly