Avoid repeating bases in MillerRabin.
Merge pull request #82 from arlolra/bases

Avoid repeating bases in MillerRabin.