add option to use bifurcation model
add use of errors from data
add magnitude s21 plot