X-ray gas ionization studies with a single-walled nanotube (SWNT) sensor