updated resonance numerics