Ann modeling of a gas sensor