public static double[] convertStringListToDoubleArray(List<String> list)
	{
		double[] ret = new double[list.size()];
	    Iterator<String> iterator = list.iterator();
	    
	    for (int i = 0; i < ret.length; i++)
	        ret[i] = Double.parseDouble(iterator.next());

	    return ret;
	}