Fix default initialization of DistanceType in computeInitialDistances.

Fixes a spot where DistanceType wasn't generically default initialized.