Hessian-free optimization for deep learning