Task adaption by biologically inspired stochastic comodulation