public ArrayList<double[]> getDataAsArrayList()
    {
	ArrayList< double[] > primitiveData = new ArrayList<double[]>();
	
	for(int i = 0; i < rows; i++)
	    primitiveData.add(data.get(i).getData());
	    
	return primitiveData;
    }