public double calcExpectedScore(int[] bowl)
    {
    	double sum=0, sumDist=0;
    	double expectedScore = 0;
    	for(int i=0;i<12;i++)
    	{
    		expectedScore = expectedScore + (dist[i]*preferences[i]);
    		sumDist+=dist[i];
			sum += bowl[i];
		}
		double rat=sum/sumDist;
		expectedScore = expectedScore * rat;
    	return expectedScore;
    }