vectorize.py takes in specified features for vector array and returns a feature vector
minor changes to vectorize