Body energy balance model in Python modified from Gagge (1971)