$G$-spaces with Riemannian metrics Dynamical systems on manifolds mathematics