dont patch setRNGState when generator is used
Added a test for the rng with generator
Update doc
Merge pull request #48 from jameskirkpatrick/topic_RNG

Fix manualSeed to make it compatible with optional first argument torch.Generator