[MRG]: FIX: use DOUBLE_t type

This is just a small fix to `_tree.pyx`, to avoid unnecessary back and forth type casting of `w`.

I'll merge if Travis is happy.