MIT researchers developed a tunable, chip-based infrared “lens” that can focus on different wavelengths pixel by pixel to improve detection of gases and heat.