| 
 Function advances a vector according to the glex sequence. Given a vector of integers this routine returns the next vector according to the Graded Lexicographic Ordering (glex). This routine is specifically used to create a valid moment sequence. 
 | 
 1.7.2
 1.7.2