Random walk with Brownian motion: Theory and application | Synapse