Implementation of Periodic Boundary Conditions for 3 body interaction

See #25