Modify Causal to use maps
Minor indenting
Merge pull request #5 from bernilsson/CausalOrderFix

Causal order fix