Merge pull request #476 from ndawe/master

[MRG] support creation of array branches with tree models