2014-01-22
calculateDistance function