Internal NPBayes functions
Allsigns(k) Allends(lefts, rights) MeasureB(B, theta, ai, zi) binary4(k)
These are not to be called by the user.