Add logging on similarity matrices to capture the effect of extrapolation