private void output_target(double value, String toFile)
	{
		if(y_scaling)
		{
			if(value == y_min)
				value = y_lower;
			else if(value == y_max)
				value = y_upper;
			else
				value = y_lower + (y_upper-y_lower) *
				(value-y_min) / (y_max-y_min);
		}

		if (toFile != null){
			outputtofile(toFile, value + " ", true);
		}else{
			System.out.print(value + " ");
		}
	}