Fixed import in CalculateDepth

Per Frank's suggestion.