Change system to use arbitrary dimension grids.
Fixed file read/write for particle fluid simulations