rework all clique work to include undirected graphs, gene and OCR example now work with belief propagation inference engine based on junction clique trees