fixed getUnitRelation (Correlation and Causality) for dbns