tidied up a phew things in gromacs dihedral writer