Complex random number generator