Added to unit test testCreateFactorGraph() to check 
factor, variables, and factor values.
Minor edits to comments