Principal component analysis and feature extraction