Stochastic source seeking in complex environments