>However, the "calories out" portion of that equation is actually quite complicated. In recent years many studies have indicated that the body does not process all calories in the same way.
I think of this as the "calories in" portion. There was never any reason to assume the means by which we measure the caloric content of food truly represented the caloric energy available to the body.