Conversion of GS sets into vectors. The GS consisting of elements of length 3 bits can be converted into a vector representation of length 23 = 8.