private void initFruitProbs()
	{
		for(int i = 0; i < length; i++)
			for(int j = 0; j <= numfruits; j++)
				for(int k = 0; k <= numfruits * length; k++)
					fruitproblist[i][j][k] = -1.0;

		for(int i = 0; i < length; i++)
		{
			for(int k = 1; k <= numfruits * length; k++)
				fruitproblist[i][0][k] = 0.0;
			for(int j = 1; j <= numfruits; j++)
				fruitproblist[i][j][0] = 0.0;
			fruitproblist[i][0][0] = 1.0;
		}
	}