Improved infrared thermal imaging of a CMOS MEMS device