Made adaptml stop and print error if trees are rooted