Pattern Recognition Techniques in Gas Sensing