get_feature_vector() method into two separate functions so the interface is a little simpler and more flexible.