public int[] getSample(){
		ArrayList<int[]> temporalListClone;
		synchronized(listLock){ temporalListClone = new ArrayList<>(temporalList); }
		int[] avgSignal = new int[4];
		for(int i = 0; i<temporalListClone.size(); i++){
			int[] listSample = temporalListClone.get(i);
			System.out.println(listSample[0]+" "+listSample[1]+" "+listSample[2]+" "+listSample[3]);
			for(int j = 0; j<4; j++){
				avgSignal[j] += listSample[j];
			}
		}
		for(int k = 0; k<4; k++){
			avgSignal[k] = avgSignal[k]/Math.max(temporalListClone.size(),1);
		}
		return avgSignal;
	}