Update DistancesInterface.java