Implementation of ROCK* algorithm (Gaussian kernel regression + natural gradient descent) for optimisation