Minor compatible changes in CliqueTreeInference to prepare the code to merge with LoopyBP implementation