Add inverse function to resonator to go back from s21 to frequency