Improving stochastic optimisation