check that inputs are disjoing in create connectivyt restraint

close #497