Algorithm-DistanceMatrix is a project mainly written in Perl, it's free.
Compute distance matrix for any given distance metric
404: Not Found