Update distributions.cpp

Made improvements to threaded RNG template functions: random_fill(), and randomCpp_par()