The Mathematical Foundations of Slot Game Design: Understanding Max Win and Volatility