Approximate Distance Formula