population_transformation function

Nested functions for a user-defined population abundance (and capacity) transformation.