Comment moved into a doctring for DamLevDist function
Some more PEP8 cleaning.