Structural and dimensional control in micromachined integrated solid state gas sensors