jdraw,
Thanks for the reply.
As the project is currently organized my function (let's call it Carbon) is called on a tree by tree basis, but eventually all trees get calculated. Basically I have a procedure that iteratively selects a subset of trees, cleans up bad/missing data, calls the...