Linear convergence of an algorithm for computing the