Several changes, solved issues with dynamicTreeCut by replacing it with a slightly modified package version