Optimization of mechanical properties of CNT-rubber nanocomposites