Implement regression trees