lammps writer mostly working - still todo: resolving periodic images