Algebraic perturbation theory for singular potentials