Fixed bug in inverse gaussian RNG