population_env_stoch function

Nested functions for population environmental stochasticity.