Added adiabatic profile calculation to build_planet.py