Self-Assembling Functionalized Single-Walled Carbon Nanotubes