Fixed bug with 1D G-vector generation.