The Missing Primitive: Diagnosing and Repairing Mathematical Reasoning in Large Language Models — ThinkLLM