prepare_feats function

Prepares the feature dataframes for tiles.