Gets a random double between min and max.
min
max
static double getDouble(double min, double max) { return min + random.nextDouble() * (max - min); }