Added Periodic Boundary Conditions