public static void removeOtherThanMax(int[][] probabilityMatrix)
	{
		int max = 0;
		for (int i = 0; i < 10; i++)
		{
			for (int j = 0; j < 10; j++)
			{
				if (probabilityMatrix[i][j] > max)
				{
					max = probabilityMatrix[i][j];
				}
			}
		}
		
		for (int i = 0; i < 10; i++)
		{
			for (int j = 0; j < 10; j++)
			{
				if (probabilityMatrix[i][j] < max)
				{
					probabilityMatrix[i][j] = 0;
				}
			}
		}
	}