Update ShortestDistCalculations.java