Fix bug in SingleBranchScaling.java