Added functions to forecast and build trees on subspaces.