Update tree.features.py

working tree feature creation and logit training!!!