Changed FeatureModel and Segment to use Array<Double> again.