Fixed a bug where the interface wasn't telling Lammps to free its memory