New tetrahedral algorithm and documentation