Adding methods to triangulate surfaces and compute distance from point to triangle in 3d.  Will use this to match shading surfaces to closest wall.

[#60827566]