Application of carbon nanotubes for mode-locked fiber lasers and nonlinear devices