Fixed CalculateDistToRootFromPointedFroms to take embedded objects into account.  Refactored FixDistToRoot to use Calculate...