fzero, Thank you. I got the idea. But I don't think the typo is there since they never introduce a traceless constraint.
The other thing is why we can do that. Here by that I mean we divide the SO(D) into 3 parts.
Can I say g11,g22 part is a representation of SO(2)
g1a, g2a part is a vector...