Singular Quadratic Forms in Perturbation Theory