Model of carbon nanotube growth through chemical vapor deposition