get_optim_fit_triphasic function

Fit triphasic model to data using optim