NUCLEAR MAGNETIC RESONANCE SHIELDING TENSORS CALCULATED WITH A SUM-OVER-STATES DENSITY FUNCTIONAL PERTURBATION THEORY