Correct implementations of split/merge analysis.
Merge pull request #34 from benjyw/new_split_merge

Correct implementations of analysis split/merge.