Optimization of a SAW metal oxide semiconductor gas sensor