new[] for matrix in levenshteinDistance()