build_sfg function

Build PopED parameter function from a model function