Add script to compute features from model output.

Can filter from detections file as well, using join command for
improved speed and reduced memory consumption compared to
loading all data into R.