Calculation of absorbed energy in the gastrointestinal tract.