Fixed bugs in torus_2d initial conditions. Still not working.