A Systems-Theoretic View on the Convergence of Algorithms under Disturbances