Chemometric determination of the length distribution of single walled carbon nanotubes through optical spectroscopy.