add dihedral table generator