rfIndex function

Create a full index object by random forest approach