Make sure that distance matrix plot is produced.