Optimisation & Generalisation in Networks of Neurons