ComputJointDistribution implemented and submitted.