Efficient Higher-Order Optimization for Machine Learning