the example now works. Next: Add MD solver.
added some predefined events. started working on periodicity. TODO: least distance calculation based on periodicity... store them perhaps