Fixes for most of dihedral bugs.

Still one more with multiple dihedral type 9.