Calculating Expected Value and Probability