Changed random generator in CPU module