public static AbstractModel getRandomSet(int min, int max, int size,AbstractModel result) {
//		AbstractModel result = new ModelParallel();
		Random r = new Random(1);
		for (int i = 0; i < size; i++) {
			result.p.add(new Particle(0.5, 0, 0, min + r.nextInt(max - min)
					+ 0.5 - r.nextDouble(), min + r.nextInt(max - min) + 0.5
					- r.nextDouble()));
		}
		return result;
	}