Learning the Geometric Mechanics of Robot Motion Using Gaussian Mixtures