add but do not test calculation of joint state distribution at selected nodes, unconditional on data