*fixed modelgenerator to support random variable states
fixed tests to work again after modelgenerator fix
fixed bug in external trws type view to work with variables without
unary factor