Tri_Gate3 added to examples and to CMakeLists