Bug fix for dihedral angle conversion into gromacs.