Simplified the dihedral processing for .top processing.