Correction to the tri2stl function.