added more documentation.  removed older triangulate code.