Merge pull request #21 from jameshomunhoe/master

Fixed function
Added 500 populations