I see that there is a rigged RNG function in your repository. Maybe try adding some testing to see if this function is really rigged as intended!