modified seedfeat.m and createftdb.m