added the improved math.random() from http://lua-users.org/wiki/MathLibraryTutorial