Bug fixes in subtreeBAMM.R - needs further testing