Length dependence of electrostatically induced carbon nanotube alignment