fix makefile,
update generator, for more random numbers