Yeah, that is the distinction whether glycolysis process will produce 36 or 38 ATP---that is where the 2 ATP difference come from. I am pretty certain the decarboxylation of pyruvate takes place in the michondrial matrix.... For instance, lets not forget what happens upon fatty acid beta degradation that also occurs in the matrix.