ENH: a joint endpoint distn calculation function is finished but not yet tested