UB angle writing in LAMMPS