Remove distance matrix