The Cluster Variation Method for Approximate Reasoning in Medical Diagnosis