Fixed RNG distribution that was giving NaN on Travis.