feature vector problems fixed and cleaned up