Implemented large portions of X3Model.Triangulate() and X3Polygon.Triangulate() methods.
Revised comments.