Optical Spectra from Chemical Titration: An Analysis by SVD