added domain analysis. Added note on primitive.
Merge branch 'plan' of github.com:gbonnema/xmas into plan