Random changes
Use erand48 for better randomness
Better