Implement 2D periodic BC
Implement periodic BC in 3D
Refactor BC settings in the test
Test periodic BC