Gradient-free optimisation

This will call the Test sub.