calculate distance from target