private double calculateFitness()
	{		
		//First we need to find all of the comm based on our solution
		ArrayList<AdjacencyMatrix> comm = createCommunitiesFromSolutionArray();		
//		for(int i = 0; i<communities.size(); i++)
//			System.out.println("comm Size: " + comm.size());
//		for(int i = 0; i<communities.size(); i++)
//		{
//			System.out.println(comm.get(i).toString());
//		}
		//Then we go through the comm and calculate the fitness of each community, adding it to our fitness total
		int numCommunities = comm.size();
		for (int i = 0; i < numCommunities; i++)
		{
			double communityFitness = 0;
			double communitySize = 0;
			
			AdjacencyMatrix currentCommunity = comm.get(i);
			for (int row = 0; row < currentCommunity.getSize(); row++) 
			{
				for (int column = 0; column < currentCommunity.getSize(); column++) 
				{
					communityFitness += currentCommunity.getIntValue(row, column);
					communitySize++;
				}
			}
			
			communityFitness *= communityFitness;
			communityFitness /= communitySize;
			
			fitness += communityFitness;
		}
		//System.out.println("fitness: " + fitness);
		adjCommunities = comm;
		return fitness;
	}