metapopulation function

Create a metapopulation dynamics object