a little speed issue...

instead of
Code:
 vec_sub(my.skill4,vector(Trees[TreeArrRows*i],Trees[TreeArrRows*i+1],Trees[TreeArrRows*i+2])); 


you can use
Code:
 vec_sub(my.skill4,Trees[TreeArrRows*i+0]); 


if i am not wrong...
the vector command is very slow, i noticed..