small corrections on variablengramextend.tex