Methods of purification and characterization of carbon nanotubes