Feature/3d cartesian grid