fix typos in lammps output.
Several more lammps writer fixes.