Update tree.features.py

added row by row embedding to hopefully minimize memory use.