<<LinearAlgebra`MatrixManipulation`

a=(({{S2 + x2, 0, 0}, {S2 + 2*x2 + x3, 0, 0}, {S2 + 2*x2 + x3 + (x3 + x4)*cs, (x3 + x4)*ss, 0}, {S2 + 2*x2 + x3 + (x3 + x4)*cs, -0.5*(x3 + x4)*
                ss, 0.5*(x3 + x4)*ss*sq3}, {S2 + 2*x2 + x3 + (x3 + x4)*cs, -0.5*(x3 + x4)*
                ss, -0.5*(x3 + x4)*ss*sq3}}))

c = Transpose[a]

MatrixForm[c]

TableForm[c]