Geometry And Dynamical Systems In Machine Learning And Control