Origins and Evolution of Model-Based Reasoning in Mathematics and Science