Parameterizing and Simulating from Causal Models