adding 3d grid experiment
modifications to grid example