new (again) way of adding native methods, plus a set of math functions and PRNG methods