The Optical properties of single-walled carbon nanotubes