Update frap_fit_fun.m