Fix mat3 headers.
Add plane_t 3d math type.