Added configuration matrix for triangles