2D Periodic Boundary Conditions Adds the ability to make pairs of curves periodic See merge request !733