I have five generators of a lie algebra, g_1,g_2,g_3,g_4,g_5 which at first glance I believe are independent, although I could be wrong.
I have calculated the structure constants, i.e.
\left[g_i,g_j\right]=f_{ij}^k g_k
And from that I have calculated a matrix rep using...