y_tail in #ifdef because of bad fit, now needs : tail ampltiude vs wave, sigma vs wave, continuum simultaneous fit