 			return sortedColumn;
 		}
 		
+		/* This function returns the Good Fit Value for the breaks. Not used but just in case*/
+//		private function getGVF(column:IAttributeColumn):Number
+//		{
+//			var listMean:Number = getSumOfNumbers(_previousSortedValues);
+//			
+//			var SDAM:Number = 0;
+//			var sqDev:Number = 0;
+//			
+//			for(var i:int =0; i < _previousSortedValues.length; i++)
+//			{
+//				sqDev = Math.pow((_previousSortedValues[i]- listMean), 2);
+//				SDAM += sqDev;
+//			}
+//			
+//			
+//			var SDCM:Number = 0;
+//			var preSDCM:Number;
+//			var classStart:Number;
+//			var classEnd:Number;
+//			var classValues:Array;
+//			var classMean:Number;
+//			var sqDev2:Number;
+//			
+//			for(var j:int =0; j < numOfBins.value; j++)
+//			{
+//				if(_previousBreaks[j] ==0)
+//				{
+//					classStart = 0;
+//				}
+//				else
+//				{
+//					classStart = _previousSortedValues.indexOf(_previousBreaks[j]);
+//					classStart += 1;
+//				}
+//				
+//				classEnd = _previousSortedValues.indexOf(_previousBreaks[j+1]);
+//				
+//				classValues = _previousSortedValues.slice(classStart,classEnd);
+//				
+//				classMean = getSumOfNumbers(classValues)/classValues.length;
+//				
+//				for(var k:int =0; k < classValues.length; k++)
+//				{
+//					sqDev2 = Math.pow((classValues[k] - classMean),2);
+//					preSDCM += sqDev2;
+//				}
+//				
+//				SDCM += preSDCM;
+//			}
+//			
+//			return (SDAM - SDCM)/SDAM;
+//			
+//		}
+		
 	}
 }
				kClass[0] = 0
			}
			
			VectorUtils.copy(kClass,_previousBreaks);
			return kClass;
		}
		
		private function getSumOfNumbers(list:Array):Number

		// reusable temporary object
		private static const _tempNumberClassifier:NumberClassifier = new NumberClassifier();
		
		private var _output:ILinkableHashMap = null;
		private var _column:IAttributeColumn = null;
		override public function generateBinClassifiersForColumn(column:IAttributeColumn):void
		{
			_output = output;
			_column = column;
			// clear any existing bin classifiers
			_output.removeAllObjects();
			
			_previousSortedValues.length = 0;
			
			_sortedValues = getSortedNumbersFromColumn(_column);
			
			VectorUtils.copy(_sortedValues,_previousSortedValues);
			
			_mat1 = [];
			_mat2 = [];
			for (var i:int = 0; i < _sortedValues.length+1; i++)
			{
				var temp1:Array = [];
				var temp2:Array = [];
