fixed typo
Added distance matrix generation to DIG