Added parsing of parameters and their evaluation for the dimensions of
the grid. Shapes are now officially parametric!