fixed issue with initializing exponential distribution