LCG random number generaor