bug fixes in dihedrals and GroTop dihedral reading logic