Extension of pid regulators to dynamical systems on smooth manifolds (M-PID)