Finished migrate and mate functions for full simulation ability.