Fix create features.mat/groundtruths.mat error.