Text this: A new technique for ferromagnetic resonance calculations