Distributed Optimisation of Deep Networks