//creating T_a*T_b = 1/2N g_ab + I/2*f_abc*T^c + 1/2*d_abc*T^c
int upper, lower, contracted, firstMetric, secondMetric, thirdMetric;
SimpleIndices indicesOfA = IndicesFactory.createSimple(null,
firstMetric = generator.generate(metricType),
upper = (0x80000000 | generator.generate(matrixType)),
contracted = generator.generate(matrixType));
SimpleIndices indicesOfB = IndicesFactory.createSimple(null,
secondMetric = generator.generate(metricType),
(0x80000000 | contracted),
lower = generator.generate(matrixType));