extract feature vectors