Complexity analysis for MCS generation code.
Refactor MCS code.
Move around private functions.
Complexity analysis for probability calculation functions.
Closes #7.
Merge branch 'develop' into coverity-scan