Slot Machine Science: The Mathematics Behind the Reels