propagate function

Propagation of junction trees