Switched runif() to C's rand() function ... performance optimization.