pub fn evaluate_lambda( nodes: &[MathNode], head_idx: NodeIndex, argument_values: &[f64], values: &HashMap<String, f64>, functions: &HashMap<String, Vec<MathNode>>, ) -> Result<f64, String>