Specialize `to_std_set` template function for matrices.
Complete the unit test for the general case in polygon intersection.