Fixed function
Done with create populations
Minor edit of faulty test
Merge pull request #21 from jameshomunhoe/master

Fixed function