Compute the 2D Talmi-Moshinsy coefficients