Misc tools for LAMMPS