matching function

Estimates matching between pairs of individuals