AI-driven assessment and scaffolding for mathematical modeling and explanations during science investigations