Fixed numpy type error by converting n_kept to int in sampling
Merge pull request #44 from nesanders/permlst

Fixes numpy TypeError by casting n_kept to int