Allow g[x,1] for 1d grids. Fixes REPL display (fixes #48)