Code for migratory connectivity strength metric (MC) and associated simulations, etc.