Some refactoring and added some unfinished probability code
Analyze code is more complete but not entirely correct
Cards Analyze produces the correct results for at least a basic test
Cleanup, refactoring. Preparing for review on Code Review