Modelling and generating correlated binary variables | Synapse