A principal components algorithm for spectra normalisation. (1st January 2013)