Added joint_probability class ot distributions