Pattern Recognition for Selective Odor Detection with Gas Sensor Arrays