Add methods for setting feature vectors through double[]
Merge branch 'features'