Added levdist
Fixed merge conflict