If the first atom is the third atom in a dihedral, reverse the order.