Formation Route of Carbon Nanotubes in a Gel Matrix