Low-cost NDIR based sensor platform for sub-ppm gas detection