Add the initial version of computing density, gravity, and pressure profiles. Still needs a lot of work