From Text to Visuals: Using LLMs to Generate Math Diagrams with Vector Graphics