Solving Asset Pricing Models with Stochastic Dynamic Programming