[MF] Computing pair-wise smooth term analytically

the result is coarser than the result computed numerically