mk_model function

Creates a model for IBMPopSim.