A model for the stochastic origins of Schrödinger’s equation