Create ComputeJointDistribution.m