Solve a generic stochastic growth model with a representative agent
