Rename and properly init weighted edit distance.