Turned the 4D arrays in the Grid class into std::vectors of 3D arrays. This makes adding density grids through Python a lot smoother.
Turned the Grid class into 3 separate subclasses, one for each type of grid, and updated how they link to C++.