Embedded Player Ed Thorp used math to become the first person to beat the casinos at blackjack. Then he changed the way Wall Street thinks about investing.