compile warning clean on clang (-Weverything minus some harmless performance warning)
fix usage of rng_set.rng
compile warning clean on intel icpc