add dihedral calculator