fixed warnings in grid.h and some indentation in simulator.cpp
volume controlfor 3d