public static double evaluateFunction(HashMap<String,Double> elements, String line)
	{
		double result;
		String functionName = "", argString = "";
		String[] args;
		
		//we need extract the name of the function.
		
		//scan for the parenthesis, skipping the %
		for(int n=1;n<line.length();n++)
		{
			if(line.charAt(n) == '(')
			{
				functionName = line.substring(1,n);
				argString = line.substring(n);
				
			}
		}
		args = packageArgs(argString);
		result = identifyFunction(functionName,args);
		
		return result;
	}