Added feature-vector() method creating sparse one-hot feature vector based on factor. Simplified feature/extractor representation.