Improved code of the TriangleSandwich
Improved code of the TriangleSandwich random