UPDATE: added new functions to support distance calculations
UPDATE: added new functions to support distance calculations

protwis/protwis,protwis/protwis,cmunk/protwis,cmunk/protwis,cmunk/protwis,cmunk/protwis,protwis/protwis