Got embedding of grids and grid cells working