Modeling Carbon Nanotube Sensors