add conditional independence check
moved conditional indep check to sbn2sbs function
fixed cond_indep check