Added grid to plot.
Addded optional constructor for choosing dimensionality.
Added support for choosing 2 or 3 dimensions for simulation.
Added support for choosing 2 or 3 dimensions for simulation. Warning: Writing to file only happens in 2D a.t.m. For 3D writing writeData() must be changed manually.