ht_matrix_to_joint_probs function

Compute the matrix of joint inclusion probabilities from the quadratic form of a Horvitz-Thompson variance estimator.