Application of Principal Component Analysis to Galaxy Spectral Energy Distributions