Fixed periodic boundary conditions. Now on to implementing velocity verlet.