calc_phi_s() in rf_parameters now based on instantaneous values instead
of avarage values