fixed 0!=0 bug in Windows (minor)

The problem was that the diff_inverse_mass was compared after
multiplying by very small numbers and even if the mass was the same in
both points, Windows said the result of their subtraction was nonzero
(order of 10e-56). Beware of such mistakes!