Avoided a warning about reading an undefined var.
Merge pull request #42 from fidlej/topic_no_undefined_read

Avoided a warning about reading an undefined var.
Used a local var for fun_cdef.
Merge pull request #43 from fidlej/topic_local_var

Used a local var for fun_cdef.
change wrapC to conform with new torch ffi
ffi load needs to remain
Merge pull request #45 from alvinlschua/master

change wrapC to conform with new torch ffi
Make tests compatible with totem-run
Skip pre-loading test when using totem-run

The test of behaviour without having loaded randomkit must
be run separately: when using totem-run, randomkit has already
been loaded, making it impossible to test the behaviour
when randomkit is not yet loaded.
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
Update HTML doc