Faster learning for hyper-parameters

One iteration now takes 15000 seconds instead of 22000 …