debug simulator with right going plane wave, periodic boundary conditions