added the function implementations for new random number distributions as described in ticket #759. in the current state the is a global thread safe instance of the the underlying gsl random number generator, but it is only used in one function call. the other functions will be changed to this generator call in the next commit.