An Optimiser for Neural Networks