Updates to algorithms and DistanceAlgo unit testing -David Caratelli