improtinv randmt32 and dice modules