ExtraTrees method for Java and R