Change random seed to nanoseconds

Avoids threads getting the same seed.