TriMesh: Add cos versions of dihedral and sector angle computation