belief propagation to computer permanent