fit_data_lsq fixed
added - delete last line from the plot