Effects of Density-Dependent and Stochastic Processes on the Regulation of Cod Populations