add multivariate trees script