Don't pass around variables internally in build_planet, add mass and moment of inertia