Dev

Added Factor and TabularCPD classes. Modified set_cpd function.