N-boson time-dependent problem: A reformulation with stochastic wave functions