Bundle Adjustment Conditioning Based On Ray Divergence