Fixed the call to DistToRootCalculator.Calculate.