add fit function for lambda, R_l, R_o, R_s, and R_os