The mathematics behind casino game odds and payouts