joint probability dist for 2 vars is now working