Numerical investigation of carbon nanotube thin-film composites and devices