public static void SmithWaterman(AlignmentGraphBasic matrix)
	{
		int x,y;
		matrix.setMatrix(0,0,0);
		for(x=1;x<matrix.getMatrixXLength();x++)
		{
			matrix.setMatrix(0, x, Math.max(matrix.getMatrix(0, x-1)+matrix.getEffort()[0], 0));
		}
		for(y=1;y<matrix.getMatrixYLength();y++)
		{
			matrix.setMatrix(y, 0, Math.max(matrix.getMatrix(y-1, 0)+matrix.getEffort()[1], 0));
		}	
		//Berechnung des inneren
		for(y=1;y<matrix.getMatrixYLength();y++)
		{
			for(x=1;x<matrix.getMatrixXLength();x++)
			{
				matrix.setMatrix(y,x,calcSmithWaterman(y,x,matrix));
				//Berechne Wert für stelle matrix[y][x]);
			}
		}			
	}