public int buildDistribution(int[] bowl, int bowlId, int round)
    {
    	std_dev = 0;
    	int bowlScore=0;
    	for (int i = 0; i < 12; i++) {
			fruits[i] += (double)(bowl[i])/2;
			bowlScore = bowlScore + (bowl[i]*preferences[i]);
			dist[i]+=bowl[i]/2.0;
		}
    	double mean = 0;
    	for(int i=0;i<scoresSeen.size();i++)
    	{
    		mean+=scoresSeen.get(i);
    	}
    	mean+=bowlScore;
    	mean/=(scoresSeen.size()+1);
    	
    	for(int i=0;i<scoresSeen.size();i++)
    	{
    		std_dev += (mean-scoresSeen.get(i))*(mean-scoresSeen.get(i));
    	}
    	std_dev += (mean-bowlScore)*(mean-bowlScore);
    	std_dev /= (scoresSeen.size()+1);
    	std_dev = Math.sqrt(std_dev);
    	//System.out.println("Standard Deviation: "+std_dev);
		//System.out.println("Bowl Score: " + bowlScore);
		//System.out.println("Round: "+round);
//		bowlsSeen[round]++;
		return bowlScore;
    	
    }