adds simple midpoint calculation needed for geofencing