feature extraction can now handle return values of vectors as well