 HYPOTHESIS 2: In subjects with abnormal respiratory muscle function weaning from mechanical ventilation after exacerbations of COPD or ARDS RMBF as measured by the NIRS-ICG technique will vary with work of breathing as measured by changes in transpulmonary pressure gradients and as measured by Esophageal and Surface EMG. 