Updated db name
Fixed distance calculations
Fixed distance calculations sec files
Merge branch 'dev'