public int[][] compute() {
		
		int [][] count = new int[n][n];
		
		for (int i = 0; i < count.length; i++)
		for (int j = 0; j < count.length; j++) {
			
			double x0 = this.lowerLeftX + ((i * edgeLength) / n);
			double y0 = this.lowerLeftY + ((j * edgeLength) / n);
			
			double x = 0;
			double y = 0;
			double xtemp;
			int iteration = 0;
			
			while (x*x + y*y < 4 && iteration < this.iterationLimit) {
				xtemp = x*x - y*y + x0;
				y = 2*x*y + y0;
				x = xtemp;
				
				iteration++;
			}
			count[i][j] = iteration;
		}
		
		return count;
	}