reimplemented meanfield to work with two populations