Processing of polymer matrix nanocomposites with carbon nanotubes