Update tree.features.py

updated script so we can do the full modeling with python